import request from '@/utils/request'

// 各中心待收益和佣金余额
export function getCommissionIncome(params) {
  return request({
    url: '/UserServiceApi/getCommissionIncome',
    method: 'get',
    params
  })
}

// 各中心待收益和佣金余额
export function setRecommendId(params) {
  return request({
    url: '/PublicApi/setRecommendId',
    method: 'post',
    params
  })
}

// 各中心待收益和佣金余额
export function getRecommendViewConfig(params) {
  return request({
    url: '/UserRecommendApi/recommendViewConfig',
    method: 'get',
    params
  })
}
